<admintpl file="header" />
</head>
<body>
	<div class="wrap">
		<ul class="nav nav-tabs">
            <li><a href="{:U('Balance/index')}">用户余额</a></li>
			<li class="active"><a>用户详情</a></li>
		</ul>
			<table class="table table-hover table-bordered">
				<tbody>
					<tr>
						<th width="100">ID</th>
						<td>{$ruser.id}</td>
						<td rowspan='7' width="242"><img src="{$ruser['weixin_avatar']}" width="242"/></td>
					</tr>
					<tr>
						<th>用户名</th>
						<td>{$ruser.username}</td>
					</tr>
					<tr>
						<th>昵称</th>
						<td>{$ruser.nickname}</td>
					</tr>
					<tr>
						<th>姓名</th>
						<td>{$ruser.realname}</td>
					</tr>
					<tr>
						<th>性别</th>
						<td>{$gender[$ruser['gender']]['name']}</td>
					</tr>
					<tr>
						<th>电话</th>
						<td>{$ruser.phone}</td>
					</tr>
					<tr>
						<th>邮箱</th>
						<td>{$ruser.email}</td>
					</tr>
					<tr>
						<th>地址</th>
						<td colspan='2'>{$ruser.address}</td>
					</tr>
					<tr>
						<th>注册时间</th>
						<td colspan='2'>{$ruser.created_at}</td>
					</tr>
					<tr>
						<th>更新时间</th>
						<td colspan='2'>{$ruser.updated_at}</td>
					</tr>
					<tr>
						<th>登录时间</th>
						<td colspan='2'>{$ruser.last_login}</td>
					</tr>
					<tr>
						<th>登录IP</th>
						<td colspan='2'>{$ruser.last_login_ip}</td>
					</tr>
					<tr>
						<th>微信ID</th>
						<td colspan='2'>{$ruser.weixin_id}</td>
					</tr>
					<tr>
						<th>账户余额（元）</th>
						<td colspan='2'>{$uwallet['money']/100}</td>
					</tr>
				</tbody>
			</table>
            <div class="form-actions">
                <a class="btn" href="{:U('Balance/index')}">返回</a>
            </div>
	</div>
	<script src="__PUBLIC__/js/common.js"></script>
</body>
</html>
